package com.gt.wxpay.cashier.payment.application;

import com.gt.wxpay.cashier.domain.model.CashierPayment;

/**
 * packageName com.gt.wxpay.cashier.payment.application
 *
 * @author GuoTong
 * @version JDK 8
 * @className MerchantModifyAccountService
 * @date 2024/3/25
 * @description 动账操作实现--todo
 */
public interface ModifyAccountService {

    /**
     * 调用商户基本账户余额退款接口
     * @param merchantId merchantId
     * @param cashierPayment paymentNo
     * @return boolean
     */
    boolean modifyBaseAccountBalanceByMerchantRefund(String merchantId, CashierPayment cashierPayment);

    /**
     * 调用商户商户应收账户余额退款接口
     * @param merchantId merchantId
     * @param cashierPayment paymentNo
     * @return boolean
     */
    boolean modifyReceivableAccountBalanceByMerchantRefund(String merchantId, CashierPayment cashierPayment);
}
